package com.zy.mapper;

import com.zy.entity.Branch;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface BranchMapper extends Mapper<Branch> {
    List<Branch> page(Branch branch);

    void insertHistory(@Param("brId") Integer brId, @Param("date") String date);

    List<Branch> pageHistory(Branch branch);
}